import cart from "../page/cart"
import cate from '../page/cate'
import goodsDetail from '../page/goodsDetail'
import goodslist from '../page/goodslist'
import index from '../page/index'
import login from '../page/login'
import register from '../page/register'
import uncenter from '../page/uncenter'

const rules = [
    {
        path:'/',
        redirect:'/index',
        exact:true
    },
    {
        path:'/index',
        component:index,
        exact:false
    },
    {
        path:'/cart',
        component:cart,
        exact:false
    },
    {
        path:'/cate',
        component:cate,
        exact:false
    },
    {
        path:'/goodsDetail',
        component:goodsDetail,
        exact:false
    },
    {
        path:'/goodslist',
        component:goodslist,
        exact:false
    },
    {
        path:'/login',
        component:login,
        exact:false
    },
    {
        path:'/register',
        component:register,
        exact:false
    },  
    {
        path:'/uncenter',
        component:uncenter,
        exact:false
    },    

]
export default rules